package com.huiyi.healthWay1.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huiyi.common.annotation.Excel;
import com.huiyi.common.core.domain.BaseEntity;

/**
 * 用户健康对象 fitness_plan_user_data
 * 
 * @author zfz
 * @date 2024-10-21
 */
public class UserData1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 身高 */
    @Excel(name = "身高")
    private BigDecimal height;

    /** 体重 */
    @Excel(name = "体重")
    private BigDecimal weight;

    /** BMI指数 */
    private BigDecimal bmi;

    /** 体脂率 */
    @Excel(name = "体脂率")
    private BigDecimal bodyFat;

    /** 血压 */
    @Excel(name = "血压")
    private String bloodPressure;

    /** 心率 */
    @Excel(name = "心率")
    private Long heartRate;

    /** 过往疾病 */
    private String chronicConditions;

    /** 每周运动频率 */
    private String exerciseFrequency;

    /** 平均运动时长 */
    private String exerciseDuration;

    /** 健身目标 */
    private String fitnessGoal;

    /** 健身目标时间 */
    private String goalDuration;

    /** 饮食偏好 */
    private String dietPreference;

    /** 食物过敏 */
    private String dietAllergies;

    /** 锻炼偏好 */
    private String workoutPreference;

    /** 需求与限制 */
    private String specialRequirements;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setHeight(BigDecimal height) 
    {
        this.height = height;
    }

    public BigDecimal getHeight() 
    {
        return height;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setBmi(BigDecimal bmi) 
    {
        this.bmi = bmi;
    }

    public BigDecimal getBmi() 
    {
        return bmi;
    }
    public void setBodyFat(BigDecimal bodyFat) 
    {
        this.bodyFat = bodyFat;
    }

    public BigDecimal getBodyFat() 
    {
        return bodyFat;
    }
    public void setBloodPressure(String bloodPressure) 
    {
        this.bloodPressure = bloodPressure;
    }

    public String getBloodPressure() 
    {
        return bloodPressure;
    }
    public void setHeartRate(Long heartRate) 
    {
        this.heartRate = heartRate;
    }

    public Long getHeartRate() 
    {
        return heartRate;
    }
    public void setChronicConditions(String chronicConditions) 
    {
        this.chronicConditions = chronicConditions;
    }

    public String getChronicConditions() 
    {
        return chronicConditions;
    }
    public void setExerciseFrequency(String exerciseFrequency) 
    {
        this.exerciseFrequency = exerciseFrequency;
    }

    public String getExerciseFrequency() 
    {
        return exerciseFrequency;
    }
    public void setExerciseDuration(String exerciseDuration) 
    {
        this.exerciseDuration = exerciseDuration;
    }

    public String getExerciseDuration() 
    {
        return exerciseDuration;
    }
    public void setFitnessGoal(String fitnessGoal) 
    {
        this.fitnessGoal = fitnessGoal;
    }

    public String getFitnessGoal() 
    {
        return fitnessGoal;
    }
    public void setGoalDuration(String goalDuration) 
    {
        this.goalDuration = goalDuration;
    }

    public String getGoalDuration() 
    {
        return goalDuration;
    }
    public void setDietPreference(String dietPreference) 
    {
        this.dietPreference = dietPreference;
    }

    public String getDietPreference() 
    {
        return dietPreference;
    }
    public void setDietAllergies(String dietAllergies) 
    {
        this.dietAllergies = dietAllergies;
    }

    public String getDietAllergies() 
    {
        return dietAllergies;
    }
    public void setWorkoutPreference(String workoutPreference) 
    {
        this.workoutPreference = workoutPreference;
    }

    public String getWorkoutPreference() 
    {
        return workoutPreference;
    }
    public void setSpecialRequirements(String specialRequirements) 
    {
        this.specialRequirements = specialRequirements;
    }

    public String getSpecialRequirements() 
    {
        return specialRequirements;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("height", getHeight())
            .append("weight", getWeight())
            .append("bmi", getBmi())
            .append("bodyFat", getBodyFat())
            .append("bloodPressure", getBloodPressure())
            .append("heartRate", getHeartRate())
            .append("chronicConditions", getChronicConditions())
            .append("exerciseFrequency", getExerciseFrequency())
            .append("exerciseDuration", getExerciseDuration())
            .append("fitnessGoal", getFitnessGoal())
            .append("goalDuration", getGoalDuration())
            .append("dietPreference", getDietPreference())
            .append("dietAllergies", getDietAllergies())
            .append("workoutPreference", getWorkoutPreference())
            .append("specialRequirements", getSpecialRequirements())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
